package com.system.business.repository;

import com.system.business.been.Business;
import com.system.business.been.IntervalPlanLst;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

/**
 * @author 林
 */
public interface BusinessRepository extends JpaRepository<Business, Integer> {
    List<Business> findAllByDepartmentId(int departmentId);
}
